from selenium.webdriver.common.by import By

from common.pagebase import Base

# 忘记密码
class Forgot(Base):
    def forget(self):
        # self.driver.find_element(By.XPATH,"//button[@class='el-button login-btn el-button--primary']").click()
        self.base_click(By.XPATH, "//button[@class='el-button forget-password el-button--text']/span")
        return self